API Documentation
Point.h
1 // Point.h
3 //
5 
6 namespace nkMaths
7 {
11  class Point
12  {
13  public :
14 
15  // Attributes
16  union
17  {
18  float _x ;
19  float x ;
20  } ;
21 
22  union
23  {
24  float _y ;
25  float y ;
26  } ;
27 
28  // Functions
33  Point () = default ;
40  Point (float x, float y) ;
41  } ;
42 }
nkMaths
Encompasses all API of component NilkinsMaths.
Definition: IntVector.h:7
nkMaths::Point::Point
Point()=default
nkMaths::Point::Point
Point(float x, float y)
nkMaths::Point
Represents a 2D Point.
Definition: Point.h:12